package com.douqu.game.core.config.map;

import com.douqu.game.core.entity.GameObject;

/**
 * @author: miracle.
 * Description:
 * Date: 2018/5/5 0005 上午 11:24
 * Huan Yu Copyright (c) 2017 All Rights Reserved.
 */
public class WorldMapTaskConfig extends GameObject{

    public int lv;
    /**
     * 1.取将首级
     * 2.杀敌报国
     * 3.攻城略地
     */
    public int type;

    /**
     * 下一个任务的ID
     */
    public int next;

    /**
     * 需要数量
     */
    public long count;

    /**
     * 奖励 军功
     */
    public int reward;

    @Override
    public boolean check() {
        return super.check();
    }

    @Override
    public boolean setVariable(String key, String value) {
        return super.setVariable(key, value);
    }

    @Override
    public String toString() {
        return "WorldMapTaskConfig{" +
                "type=" + type +
                ", sequence=" + next +
                ", count=" + count +
                ", reward=" + reward +
                '}';
    }
}
